package com.healthcloud.entity.questionnaire;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 选项
 * @author zhangjie
 */
@Data
public class QuestionnaireOptionEntity {

    private Long id;
    /**
     * 选项
     */
    @ApiModelProperty(value = "选项")
    private String text;
    /**
     * 值
     */
    @ApiModelProperty(value = "值")
    private String option;
    /**
     * 1:单选 2:多待
     */
    @ApiModelProperty(value = "1:单选 2:多待")
    private Integer type;
    /**
     * 1:必填 2:可以为空
     */
    @ApiModelProperty(value = "1:必填 2:可以为空")
    private Integer state;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 问题id
     */
    @ApiModelProperty(value = "问题id")
    private Long questionId;

    private Date createTime;

    private Date updateTime;

}